package com.jianguozh.difs.support.service.constant.enums;

import com.baomidou.mybatisplus.annotation.IEnum;
import com.jianguozh.difs.framework.annotation.EnumDesc;

/**
 * 资源类型枚举
 *
 * @author hanrs
 * @email 4076130@qq.com
 * @since 2022/3/28 17:11
 */
@EnumDesc(title = "资源类型")
public enum ResTypeEnum implements IEnum<String> {

    MENU("MENU", "菜单"),
    APP("APP", "应用"),
    ;

    private final String value;
    private final String displayName;

    ResTypeEnum(String value, String displayName) {
        this.value = value;
        this.displayName = displayName;
    }


    public String getDisplayName() {
        return this.displayName;
    }

    @Override
    public String getValue() {
        return this.value;
    }


    @Override
    public String toString() {
        return this.displayName;
    }}
